
// DataSClientDlg.h : header file
//

#pragma once

// CDataSClientDlg dialog
class CDataSClientDlg : public CDialogEx
{
// Construction
public:
	CDataSClientDlg(CWnd* pParent = NULL);	// standard constructor
	~CDataSClientDlg();
// Dialog Data
	enum { IDD = IDD_DATASCLIENT_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedOk();
	UINT m_dlgPort;
	CString m_dlgOutLog;
	CString m_dlgLog;
	afx_msg void OnBnClickedButtonStop();
	afx_msg void OnBnClickedCancel();
	CString m_dlgIP;
private:
	CDataReceiver m_pDataReceiver;
protected:
	afx_msg LRESULT OnOnNewBidAskArrived(WPARAM wParam, LPARAM lParam);
	afx_msg LRESULT OnOnNewTickArrived(WPARAM wParam, LPARAM lParam);
public:
	long m_nBid;
	long m_nAsk;
};
